package com.vs.meepet.network

import com.google.gson.GsonBuilder
import com.google.gson.reflect.TypeToken

/**
 *
 * 作者：柯嘉少
 * 邮箱：2449926649@qq.com
 * 日期: 2024/2/6
 * 修改人: xxx(des)
 * 说明:
 * 版本: 1.0
 */
class GsonUtil {
    companion object{
        private val gsonBuilder=GsonBuilder().registerTypeAdapter( object : TypeToken<Map<String, Any>>() {}.type, CustomizedObjectTypeAdapter())
        val gson= gsonBuilder.create()//Gson()
    }
}